﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LoginAdmin.aspx.cs" Inherits="ShowroomMobile.LoginAdmin"
    Theme="tbmobile" MasterPageFile="~/Site.Master" Title="Login Admin" %>

<asp:Content runat="server" ID="cLoginAdmin" ContentPlaceHolderID="ContentPlaceHolder1">
    <script type="text/javascript">
        $(document).ready(function () {
            var marginH = ($(document).height() - $("#dvlogin").height()) / 2 - 70;
            $("#dvlogin").css("margin-top", marginH + "px");
        });
    </script>
    <div id="main">
        <div id="dvlogin" class="box">
            <div class="box-right">
                <div style="height: 30px">
                </div>
                <table cellpadding="5" cellspacing="0">
                    <tr>
                        <td>
                            Username
                            <label class='required'>
                                *</label>
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtUsername" Width="160px" />
                            <asp:RequiredFieldValidator ValidationGroup="Login" ID="RequiredFieldValidator3"
                                runat="server" class='requiredField' ErrorMessage="" Text='' Display="Dynamic"
                                ControlToValidate="txtUsername"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Password
                            <label class='required'>
                                *</label>
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtPassword" Width="160px" TextMode="Password" />
                            <asp:RequiredFieldValidator ValidationGroup="Login" ID="require1" runat="server"
                                ControlToValidate="txtPassword" Display="Dynamic" CssClass="requiredField" ErrorMessage=""
                                Text=""></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="10" align="center">
                            <asp:ImageButton runat="server" ID="imbLogin" ImageUrl="~/images/btn-login.png"
                                OnClick="imbLogin_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</asp:Content>
